package com.funtl.apache.dubbo.provider.service.impl;

import com.funtl.apache.dubbo.provider.dao.TbOrderDao;
import org.apache.dubbo.common.serialize.support.SerializationOptimizer;

import java.util.Collection;
import java.util.LinkedList;
import java.util.List;

public class SerializationOptimizerImpl implements SerializationOptimizer {
    @Override
    public Collection<Class> getSerializableClasses() {
        List<Class> classes = new LinkedList<>();
        classes.add(TbOrderDao.class);
        classes.add(TbOrderServiceImpl.class);
        return classes;
    }
}
